package com.woniuxy.user.service.impl;

import com.netflix.discovery.converters.Auto;
import com.woniuxy.commons.entity.UserPo;
import com.woniuxy.user.mapper.UserLoginMapper;
import com.woniuxy.user.service.UserLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author:阳佳
 * @Date: 2020/8/5 9:33
 * @Description:
 * @PACKAGE_NAME:com.woniuxy.user.service.impl
 */
@Service
public class UserLoginServiceImpl implements UserLoginService {
    @Autowired
    private UserLoginMapper userLoginMapper;
    @Override
    public int insertUser(UserPo userPo) {
        return userLoginMapper.insertUser(userPo);
    }

    @Override
    public UserPo findUserPOByAccount(String account) {
        return userLoginMapper.findUserPOByAccount(account);
    }
}
